/**
 * 
 */
package com.primestone.cim.meterreadings.beans;

/**
 * @author cesar.mateus
 * Oct 15, 2013 9:39:26 PM
 * CIMDBRegister.java
 * GetMeterReadings
 * 
 */
public class CIMDBRegister {
	
	private Integer attribute; // in db: field
	private Integer value;
	private String enumeration;
	private String description;
	private Integer condition;
	
	/**
	 * @param attribute
	 * @param value
	 * @param enumeration
	 * @param description
	 * @param condition
	 */
	public CIMDBRegister(Integer attribute, Integer value, String enumeration,
			String description, Integer condition) {
		super();
		this.attribute = attribute;
		this.value = value;
		this.enumeration = enumeration;
		this.description = description;
		this.condition = condition;
	}
	/**
	 * @return the attribute
	 */
	public Integer getAttribute() {
		return this.attribute;
	}
	/**
	 * @param attribute the attribute to set
	 */
	public void setAttribute(Integer attribute) {
		this.attribute = attribute;
	}
	/**
	 * @return the value
	 */
	public Integer getValue() {
		return this.value;
	}
	/**
	 * @param value the value to set
	 */
	public void setValue(Integer value) {
		this.value = value;
	}
	/**
	 * @return the enumeration
	 */
	public String getEnumeration() {
		return this.enumeration;
	}
	/**
	 * @param enumeration the enumeration to set
	 */
	public void setEnumeration(String enumeration) {
		this.enumeration = enumeration;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return this.description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the condition
	 */
	public Integer getCondition() {
		return this.condition;
	}
	/**
	 * @param condition the condition to set
	 */
	public void setCondition(Integer condition) {
		this.condition = condition;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return String
				.format("CIMDBRegister [attribute=%s, value=%s, enumeration=%s, description=%s, condition=%s]",
						this.attribute, this.value, this.enumeration,
						this.description, this.condition);
	}

}
